package xyz.yuanjilu.service;

import com.cybermkd.mongo.kit.MongoQuery;

public interface BaseMongoDao {
	
	String save(String use, Object obj);
	
	void close();

	MongoQuery query(String use);
	
	//void saveBatch(List<T> list);
	
	//int update(T t);
	
	//int update(Map<String, Object> map);
	
	//int delete(Object id);
	
	//int delete(Map<String, Object> map);
	
	//int deleteBatch(Object[] id);

	//T queryObject(Object id);
	
	//List<T> queryList(Map<String, Object> map);
	
	//List<T> queryList(Object id);
	
	//int queryTotal(Map<String, Object> map);

	//int queryTotal();
}